<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo PROJECT_ADMIN_NAME ?>-</title>
<link rel="icon" href="/favicon<?php echo (ENVIRONMENT=='production')?'':'-debug' ?>.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon<?php echo (ENVIRONMENT=='production')?'':'-debug' ?>.ico" type="image/x-icon" />

<link rel="stylesheet" type="text/css" href="<?php echo SITE_BASE_URL ?>ys-pub/resources/css/ext-common.min.css" />
<link rel="stylesheet" type="text/css" href="<?php echo SITE_BASE_URL ?>ys-pub/resources/css/zm.min.css" />
<link rel="stylesheet" type="text/css" href="<?php echo RESOURCE_URL.TEMPLATE_PROJECT ?>/style.css" />
<script type="text/javascript" src="<?php echo SITE_BASE_URL ?>ys-pub/ext-all.min.js"></script>
<script type="text/javascript" src="<?php echo SITE_BASE_URL ?>ys-pub/ext-lang-zh_CN.js"></script>
<script type="text/javascript">
	Ext.BLANK_IMAGE_URL = "<?php echo SITE_BASE_URL ?>ys-pub/resources/images/default/s.gif";
</script>
<script type="text/javascript" src="<?php echo SITE_BASE_URL ?>ys-pub/zm.min.js"></script>
<script type="text/javascript">
var zmdoc = {
	editorCss:'<?php echo RESOURCE_URL.TEMPLATE_PROJECT ?>/style.css'
}

Ext.imagePath = '<?php echo SITE_BASE_URL ?>ys-pub/resources/images/zm/';
Ext.permission = <?php echo isset($permission)?$permission:'{}'?>;
Ext.onReady(function(){
	Ext.QuickTips.init();
	var list = {};
	list.today = new Date();
	list.today.setDate(list.today.getDate()-1);
	list.siteUrl = '<?php echo SITE_BASE_URL ?>';
	list.baseUrl = '<?php echo SITE_BASE_URL ?>admin/';

	<?php if(isset($menu['nav_title'])) { ?>
		document.title += '<?php echo $menu['nav_title']; ?>';
	<?php } ?>
	Ext.navActive = '<?php echo isset($menu['nav_active'])?$menu['nav_active']:'' ?>';
	Ext.menuUrl = '<?php echo isset($menu['mnu_url'])?$menu['mnu_url']:'' ?>';
